package test;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;


@EnableEurekaServer//服务注册中心
@SpringBootApplication
//@ComponentScan(basePackageClasses=EurekaserverApplication.class)
public class EurekaserverApplication {

    public static void main(String[] args) {
        System.out.println("start");
        SpringApplication.run(EurekaserverApplication.class, args);
        System.out.println("end");
    }
}
